<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>js回调测试001</title>
    <script src="../zujian/han/han.js"></script>
</head>
<body>
<script type="text/javascript">
    function fn1(fn2) {//fn2:回调函数
        fn2();
        hwrite(1);

    }
    fn1(function(){
        hwrite(2);
    });
</script>
</body>
</html>